package cn.bouncyslime.graduationProject.nba.dao;

import cn.bouncyslime.graduationProject.nba.dto.PerennialPlayer;
import cn.bouncyslime.graduationProject.nba.dto.TeamDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 作者： 张一卓
 * 时间： 2020/3/28 0:45
 */
@Mapper
public interface TeamDao {
    void insertTeam(TeamDto teamDto);
    List<TeamDto> listAllTeams();
    List<TeamDto> listHistoryTeams();
    List<TeamDto> listExistingTeams();
    TeamDto getTeam(String teamId);
    List<String> listAllSeasonOfTeam(String teamId);
    List<PerennialPlayer> listRSPerennialPlayers(String teamId, String season);
    List<PerennialPlayer> listPSPerennialPlayers(String teamId, String season);

    // 假的代码
    Map getTeamRadarMap(String teamId);
}
